package cn.aaalei.mapper;

import cn.aaalei.pojo.AdminInfo;
import cn.aaalei.pojo.AutoSignAccount;
import cn.aaalei.pojo.SignLogInfo;
import cn.aaalei.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MainMapper {

    List<SignLogInfo> findSignLogInfoByStudentNo(String studentNo);

    List<AdminInfo> findList(String username);

    UserInfo getMyProfile(String username);

    Integer findAllPeopleNum();

    Integer findAllSignLogNum();

    Integer findSignLogNumByStudentNo(String studentNo);

    AutoSignAccount findAccount(String studentNo);

    int insertAccount(AutoSignAccount account);

    int updateAccount(AutoSignAccount account);
}
